<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>初心-登录</title>
		<meta name="description" content="" />
		<meta name="author" content="胡 毅鹏" />
		<!--[if lt IE 9]>
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
		<link rel="shortcut icon" href="/favicon.ico" />
        <link rel="stylesheet" href="{{ STATIC_URL }}css/reset.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="{{ STATIC_URL }}css/grid.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="{{ STATIC_URL }}css/master.css" type="text/css" media="screen" />
	</head>
	<body>
		<div>
			<header>
				<div class="container_12">
					<h1><a href="chuxin.html">初  心</a></h1>
					<nav id="mainNav" >
						<a href="chuxin.html">首页</a>
						<a href="#">交易墙</a>
						<a href="#">图书库</a>
						<a href="#">讨论区</a>
					</nav>
					<form action="/search" method="">
						<input type="text" class="search-query" placeholder="搜索" />
					</form>
					<nav id="sideNav" class="gird_3">
						<a href="#"  class="selected">登录</a>
                        <a href="{% url signin_page %}">注册</a>
					</nav>
	
				</div>
			</header>
			<div class="container_12">
				<div class="grid_8 mainside">
					<div class="loginbox">
			    		<div class="loginheader">
			    			<h3>常来常新</h3>
			    			<a href="#">忘记密码</a>
			    		</div>
                        {% if messages %}
                        <ul>
                            {% for message in messages %}
                            <li>{{ message }}</li>
                            {% endfor %}
                       </ul>
                       {% endif %}
			    		<form class="loginmain" method="post" action="">
                            {% csrf_token %}
			    			<p>
                            <label for="email">{{ form.email.label }}</label>
                            {{ form.email }}
                            <label for="password">{{ form.password.label }}</label>
                            {{ form.password }}
			    			</p>
			    			<p class="nolabel loginnote1">
			    				<label>
			    					<input name="remember" type="checkbox" id="" value="1">记住我
			    				</label>
			    				<input type="submit" value="登录" class="btn-submit" />
			    			</p>
			    		</form>
			    		<div class="loginfooter">
			        	    <a href="#">立即注册初心</a>
			    	    </div>
			    	</div>
					<div class="wallpanel">
					</div>
			    </div>
			    <div class="grid_4 sidebar">
			     	<div class="communityinfo">
			    		<p>呵呵，没事儿偷着乐也是一种福气！</p><br />
			    		<p>闲下来了，来看看，说不定有啥东西让你眼前一亮！</p>
			    	</div>
			    </div>
			    <div class="clearfix" />
			</div>
			
			<footer class="container_12">
				<nav class="footinfo">
					<a href="#">关于</a>
					<span>·</span>
					<a href="#">联系</a>
					<span>·</span>
					<a href="#">反馈</a>
					<span>&copy;2012 chuxin.me</span>
				</nav>
			</footer>
		</div>
	</body>
</html>
